package 设计模式.装饰器模式.电商促销案例;

import java.math.BigDecimal;

/**
 * 红包
 *
 */
public class UserRedPacket {

    private int id; // 红包 ID
    private int userId; // 领取用户 ID
    private String sku; // 商品 SKU
    private BigDecimal redPacket; // 领取红包金额

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public String getSku() {
        return sku;
    }
    public void setSku(String sku) {
        this.sku = sku;
    }
    public BigDecimal getRedPacket() {
        return redPacket;
    }
    public void setRedPacket(BigDecimal redPacket) {
        this.redPacket = redPacket;
    }
}